&pgstar
  ! see star/defaults/pgstar.defaults

  ! MESA uses PGPLOT for live plotting and gives the user a tremendous
  ! amount of control of the presentation of the information.


  ! MAKE GRID
  Grid1_win_flag = .true.
  Grid1_win_width = 19
  Grid1_win_aspect_ratio = 0.5
  
  Grid1_title = ''
  Grid1_num_cols = 9
  Grid1_num_rows = 4
  Grid1_num_plots = 7

  ! HRD Plot 
  Grid1_plot_name(1) = 'HR'
  Grid1_plot_row(1) = 3
  Grid1_plot_rowspan(1) = 2
  Grid1_plot_col(1) = 1
  Grid1_plot_colspan(1) = 2
  
  Grid1_plot_pad_left(1) = -0.071    ! fraction of full window width for padding on left
  Grid1_plot_pad_right(1) = 0.13     ! fraction of full window width for padding on right
  Grid1_plot_pad_top(1) = 0.18       ! fraction of full window height for padding at top
  Grid1_plot_pad_bot(1) = -0.02      ! fraction of full window height for padding at bottom
  Grid1_txt_scale_factor(1) = 0.5    ! multiply txt_scale for subplot by this
  
  
  ! Omega History
  Grid1_plot_name(2) = 'History_Panels1'
  Grid1_plot_row(2) = 1
  Grid1_plot_rowspan(2) = 2
  Grid1_plot_col(2) = 1
  Grid1_plot_colspan(2) = 4
   
  Grid1_plot_pad_left(2) = -0.071    ! fraction of full window width for padding on left
  Grid1_plot_pad_right(2) = 0.15     ! fraction of full window width for padding on right
  Grid1_plot_pad_top(2) = 0.15       ! fraction of full window height for padding at top
  Grid1_plot_pad_bot(2) = -0.08      ! fraction of full window height for padding at bottom
  Grid1_txt_scale_factor(2) = 0.7    ! multiply txt_scale for subplot by this
  
  History_Panels1_win_flag = .false.
  History_Panels1_title = 'History panels'
  History_Panels1_num_panels = 1
  History_Panels1_xaxis_name = 'star_age'
  History_Panels1_yaxis_name(1) = 'surf_avg_omega_div_omega_crit'     ! change in minilab1 exercise 2
  History_Panels1_other_yaxis_name(1) = 'center_omega_div_omega_crit' ! change in minilab1 exercise 2
  History_Panels1_xmin = 0d0
  History_Panels1_max_width = -101d0
 
  
  ! Grav Darkening HRD
  Grid1_plot_name(6) = 'History_Panels2'
  Grid1_plot_row(6) = 3
  Grid1_plot_rowspan(6) = 2
  Grid1_plot_col(6) = 2
  Grid1_plot_colspan(6) = 2
   
  Grid1_plot_pad_left(6) = 0.018     ! fraction of full window width for padding on left
  Grid1_plot_pad_right(6) = 0.043    ! fraction of full window width for padding on right
  Grid1_plot_pad_top(6) = 0.18       ! fraction of full window height for padding at top
  Grid1_plot_pad_bot(6) = -0.02      ! fraction of full window height for padding at bottom
  Grid1_txt_scale_factor(6) = 0.5    ! multiply txt_scale for subplot by this
  
  History_Panels2_win_flag = .false.
  History_Panels2_title = ''
  History_Panels2_num_panels = 1
  History_Panels2_xmin = 0d0
  History_Panels2_max_width = -101d0
  History_Panels2_xaxis_name = 'star_age'
  History_Panels2_xmin = 0d0
  History_Panels2_max_width = -101d0
  History_Panels2_xaxis_log = .false.
  History_Panels2_xaxis_reversed = .false.
  History_Panels2_yaxis_name(1) = 'log_total_angular_momentum'
  History_Panels2_yaxis_log(1) = .false.
  History_Panels2_ymin(1) = 0
  History_Panels2_ymax(1) = -101d0 
  
  ! Mixing window
  Grid1_plot_name(3) = 'Profile_Panels3'
  Grid1_plot_row(3) = 1
  Grid1_plot_rowspan(3) = 2
  Grid1_plot_col(3) = 5
  Grid1_plot_colspan(3) = 4
   
  Grid1_plot_pad_left(3) = 0.01     ! fraction of full window width for padding on left
  Grid1_plot_pad_right(3) = -0.05   ! fraction of full window width for padding on right
  Grid1_plot_pad_top(3) = -0.03     ! fraction of full window height for padding at top
  Grid1_plot_pad_bot(3) = 0.02      ! fraction of full window height for padding at bottom
  Grid1_txt_scale_factor(3) = 0.8   ! multiply txt_scale for subplot by this

  Profile_Panels3_title = ''
  Profile_Panels3_win_flag = .false.
  Profile_Panels3_xaxis_name = 'radius'
  Profile_Panels3_xaxis_reversed = .false.
  Profile_Panels3_num_panels = 1
  Profile_Panels3_yaxis_name(1) = 'log_dJ_over_J'
  Profile_Panels3_xmin = 0d0
  Profile_Panels3_show_mix_regions_on_xaxis = .true.

  ! Omega Profile vs radius
  Grid1_plot_name(4) = 'Profile_Panels1'
  Grid1_plot_row(4) = 3
  Grid1_plot_rowspan(4) = 2
  Grid1_plot_col(4) = 8
  Grid1_plot_colspan(4) = 2
   
  Grid1_plot_pad_left(4) = 0.015   ! fraction of full window width for padding on left
  Grid1_plot_pad_right(4) = 0.01   ! fraction of full window width for padding on right
  Grid1_plot_pad_top(4) = 0.08     ! fraction of full window height for padding at top
  Grid1_plot_pad_bot(4) = 0.0      ! fraction of full window height for padding at bottom
  Grid1_txt_scale_factor(4) = 0.7  ! multiply txt_scale for subplot by this
  
  Profile_Panels1_title = ''
  Profile_Panels1_win_flag = .false.
  Profile_Panels1_xaxis_name = 'radius'
  Profile_Panels1_xaxis_reversed = .false.
  Profile_Panels1_num_panels = 1
  Profile_Panels1_yaxis_name(1) = 'omega'
  Profile_Panels1_other_yaxis_name(1) = 'omega_div_omega_crit'
  Profile_Panels1_xmin = 0d0
  Profile_Panels1_show_mix_regions_on_xaxis = .true.

  ! Omega Profile vs mass
  Grid1_plot_name(5) = 'Profile_Panels2'
  Grid1_plot_row(5) = 3
  Grid1_plot_rowspan(5) = 2
  Grid1_plot_col(5) = 5
  Grid1_plot_colspan(5) = 2
   
  Grid1_plot_pad_left(5) = 0.009    ! fraction of full window width for padding on left
  Grid1_plot_pad_right(5) = 0.02    ! fraction of full window width for padding on right
  Grid1_plot_pad_top(5) = 0.08      ! fraction of full window height for padding at top
  Grid1_plot_pad_bot(5) = 0         ! fraction of full window height for padding at bottom
  Grid1_txt_scale_factor(5) = 0.8   ! multiply txt_scale for subplot by this
  
  Profile_Panels2_title = ''
  Profile_Panels2_win_flag = .false.
  Profile_Panels2_xaxis_name = 'mass'
  Profile_Panels2_xaxis_reversed = .false.
  Profile_Panels2_num_panels = 1
  Profile_Panels2_yaxis_name(1) = 'omega'
  Profile_Panels2_other_yaxis_name(1) = 'omega_div_omega_crit' 

  ! text summary
  Grid1_plot_name(7) = 'Text_Summary1'
  Grid1_plot_row(7) = 1
  Grid1_plot_rowspan(7) = 2
  Grid1_plot_col(7) = 1
  Grid1_plot_colspan(7) = 4
   
  Grid1_plot_pad_left(7) = -0.08    ! fraction of full window width for padding on left
  Grid1_plot_pad_right(7) = 0.13    ! fraction of full window width for padding on right
  Grid1_plot_pad_top(7) = -0.06     ! fraction of full window height for padding at top
  Grid1_plot_pad_bot(7) = 0.35      ! fraction of full window height for padding at bottom
  Grid1_txt_scale_factor(7) = 0.5   ! multiply txt_scale for subplot by this

  Text_Summary1_win_flag = .false.
  Text_Summary1_num_rows = 4
  Text_Summary1_num_cols = 2
  Text_Summary1_name(:,:) = ''
  Text_Summary1_txt_scale = 2

  Text_Summary1_name(1,1) = 'model_number'
  Text_Summary1_name(2,1) = 'zones'
  Text_Summary1_name(3,1) = 'star_age'
  Text_Summary1_name(4,1) = 'center_h1'
  Text_Summary1_name(1,2) = 'Mass'
  Text_Summary1_name(2,2) = 'radius'
  Text_Summary1_name(3,2) = 'center_omega'    ! change in minilab1 exercise 2
  Text_Summary1_name(4,2) = 'surf_avg_omega'  ! change in minilab1 exercise 2
    
    
  ! File output
  Grid1_file_flag = .true.
  Grid1_file_dir = 'png'
  Grid1_file_prefix = 'grid1'
  Grid1_file_interval = 495
  Grid1_file_width = -1
  Grid1_file_aspect_ratio = -1

  pgstar_show_age = .false.
  pgstar_show_model_number = .false.


/ ! end of pgstar namelist
